Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 14 - Shader Objects / Shader Objects Reference
Shader Objects Routines / Managing Textures


Q3Texture_GetType

You can use the Q3Texture_GetType function to get the type of a texture object.

TQ3ObjectType Q3Texture_GetType (TQ3TextureObject texture);
texture
A texture object.
DESCRIPTION
The Q3Texture_GetType function returns, as its function result, the type of the texture object specified by the texture parameter. The type of texture objects currently supported by QuickDraw 3D is defined by this constant:

kQ3TextureTypePixmap
If the specified texture object is invalid or is not of this type, Q3Texture_GetType returns the value kQ3ObjectTypeInvalid.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996